package com.simple.ds.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.simple.common.entity.po.NotifyChannel;
import com.simple.ds.mapper.NotifyChannelMapper;
import com.simple.ds.service.NotifyChannelService;
import org.springframework.stereotype.Service;

/**
 * @author yasud
 * @date 2021年09月25日 13:25
 * @description
 */
@Service
public class NotifyChannelServiceImpl extends ServiceImpl<NotifyChannelMapper, NotifyChannel> implements NotifyChannelService {

    @Override
    public NotifyChannel save_(NotifyChannel generateChannelNotify) {
        save(generateChannelNotify);
        return generateChannelNotify;
    }

    @Override
    public NotifyChannel findById_(Long notifyChannelId) {
        return getById(notifyChannelId);
    }

    @Override
    public void updateById_(NotifyChannel notifyChannel) {
        updateById(notifyChannel);
    }
}
